package com.pcdandan.pcdandan.config;

import com.pcdandan.pcdandan.config.subject.PcdandanSubject;
import com.pcdandan.pcdandan.config.token.PcdandanTicket;
import com.youyu.financial.gjj.crawler.SimpleCrawler;

/**
 * Created by xuzhengtao on 2018/4/17.
 */
public class PcdandanCrawler extends SimpleCrawler<PcdandanSubject,PcdandanTicket> {
    @Override
    public PcdandanSubject getSubject(PcdandanTicket token) {
        return new PcdandanSubject(token, processorRegister,sessionManager, visitorGenerator.generate(), pipelines);
    }
}
